package com.zhangdi.mgsync.core.enums;

/**
 * @author zhangdi
 * @version 1.0
 * @date 2023.12.5
 */
public enum Exchanges {
    mgsync("mgsync"),
    tender("tender"),
    standard("standard"),
    ;

    private final String exchangeName;

    Exchanges(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public static boolean isExchange(String exchangeName) {
        return mgsync.exchangeName.equals(exchangeName);
    }
}
